def initmat(val , colone,ligne):
    return [[val for col in range(colone)] for lig in range(ligne)]

def colleMat(m1,m2):
    for colone in range(1,len(m2)-1):
        for ligne in range(1,len(m2[colone])-1):
            m2[colone][ligne] = m1[colone-1][ligne-1]
            
def affiche_matrice(Mat):
    for i in range(len(Mat)):
        for j in range(len(Mat)):
            print Mat[i][j],
        print "\n"
        
